package com.cxrj.zhsq.propertyManage.service;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.cxrj.zhsq.propertyManage.entity.Notice;

public interface NoticeSecvice {

	void insertNotice(Notice notice);

	Map<String, Object> selectNoticePage(HttpServletRequest request, HttpServletResponse response);

	Map<String, Object> selectById(String noticeId, String userId, HttpServletRequest request);

	Map<String, Object> deleteNotice(String noticeId, HttpServletRequest request, HttpServletResponse response);

	Map<String, Object> updatereleaseNotice(String noticeId, String noticeState);

	Map<String, Object> updateNotice(Notice notice);

	Map<String, Object> selectNoticeByTopThree(String userId);

	Map<String, Object> selectNoticeByStatus(String userId, String status, String dataIndex, String pageCount);
	
	Map<String, Object> updateNoticeByRead(String userId ,String noticeId);
	
	Map<String, Object> selectNoticeByNotRead(String userId);

}
